<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<link rel="stylesheet" type="text/css" href="static/bootstrap/css/bootstrap.min.css" media="all" />
	</head>
	<body class="body">
		<%@ include file="top.jsp"%>
	<div class="container"style="padding-top:60px">
		<div class="row">
			<jsp:include page="left.jsp">
				<jsp:param value="contact" name="tag"/>
			</jsp:include>
			<div class="span9">
				<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0">
					<li class="active">
						<a href="task.html">
							<i class="icon-user"></i>联系人
						</a>
					</li>
				</ul>
	
				<div class="wall offset2">
					<address>
							<h3>${contact.name}</h3>
							<p>${contact.company}</p>
							   <small>手机</small> ${contact.telephone}<br/>
							   <small>固话</small> ${contact.phone}<br/><br/>
							   <small>邮箱</small> ${contact.email}<br/>
							   <small>地址</small> ${contact.address}<br/><br/>
							   <small>主页</small> <a href="http://${contact.index}">${contact.index}</a><br/>
							   <small>微博</small> <a href="http://${contact.bolgType}${contact.username}">@${contact.username}</a><br/>
					
					</address>
					<div class="line">记录</div>
					<form method="post" action="contact.jspx?m=newrecord">
						<input type="hidden" name="id" value="${contact.id}"/>
						<textarea class="span5" name="content" rows="3"></textarea>
						<br>
						<button class="btn btn-primary" type="submit">发布</button>
					</form>
					<c:forEach items="${requestScope.recordList}" var="record" >
							<blockquote>
							 <p>${record.content }</p>
							  <small>${record.member.name }发布于${record.time } </small>
							</blockquote>
						</c:forEach>
					<a href="contact.jspx?m=show">←返回联系人列表</a>
				</div>
				
				</div>
			</div>
		</div>
	</body>
</html>